package app.services;

import com.digitalpersona.onetouch.DPFPFingerIndex;

import app.models.BiometriaTemplate;

public interface BiometriaTemplateService extends GenericService<BiometriaTemplate, Long>{

	BiometriaTemplate findBiometriaTemplateByPacienteId(Integer id);

	BiometriaTemplate findBiometriaTemplateByPacienteIdAndByFinger(Integer id, String finger);
	
	byte[] decodeString(String encoded);
	
	BiometriaTemplate createTemplate(Integer id, String finger, byte[] decoded);
	
}
